from sort_A_simply_sort import simply_sort

n, l, r = map(int, input().split())
cubes_list = list(map(int, input().split()))
mixed_cubes_list = list(map(int, input().split()))
flag = True

for i in range(len(cubes_list[l - 1 : r])):
    if simply_sort(cubes_list[l - 1 : r])[i] != simply_sort(mixed_cubes_list[l - 1 : r])[i]:
        flag = False
        print("LIE")
        break

if flag:
    print("TRUTH")
